﻿@model  SocialPhotos.Web.Models.BaseViewModel
@if (Model != null && Model.LoginUser != null)
{
    <div id="logonStatus" style="font-size: 12pt;">Hello <a href="/Photos/Photos/Index" ><b>@Model.LoginUser.Name</b></a>, <a href="/Photos/Account/Logout">Sign out</a></div>
}
else
{
    <div  id="logonStatus" style="font-size: 12pt;"><a href="/Photos/Account/Logon">Sign in</a>, <a href="/Photos/Account/CreateUser">Register</a></div>
}
    